package com.code.springbootwebsocket.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author: liyufei
 * @date: 2019-02-16 18:19
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class InMessage {

    private String from;

    private String to;

    private String content;

    private Date time;
}
